﻿using EFFC.Frame.Net.Module.Extend.EWRA.Attributes;
using ICPFrameLib.Business;
using System;
using System.Collections.Generic;
using System.Text;

namespace XHRPMISPlugin.Business.v1._0
{
    class Sample:MyRestLogic
    {
        [EWRAAuth(false)]
        [EWRARoute("get", "/plugin/sample")]
        [EWRARouteDesc("插件sample")]
        [EWRAOutputDesc("返回结果", @"{
code:""success-成功，failed-失败"",
msg:""提示信息""
}")]
        public object GetMyMsg()
        {
            SetCacheEnable(false);

            
            return new
            {
                code = "success",
                msg = "这是个sample"
            };
        }
    }
}
